﻿using Boggle.Net.Model;
using Boggle.Net.Tests.Specifications;
using NUnit.Framework;

namespace Boggle.Net.Tests.Primitives
{
    [TestFixture]
    public class Parsing
    {
        // ReSharper disable InconsistentNaming

        [Test]
        public void ParsingPath_FromString()
        {
            var expected = new[]
                           {
                               new Tray.Location(1, 3),
                               new Tray.Location(0, 2),
                               new Tray.Location(1, 1)
                           };

            Assert.AreEqual(expected, Steps.ParsePathExpression("(1, 3) (0, 2) (1, 1)"));
        }

        // ReSharper restore InconsistentNaming
    }
}
